/**
   A three dimensional box that can calculate it's volume and surface area.
*/
public class Box {

	
	private double x;
	//public double x;
	//double x;
	private double y;
	private double z;
	private double height;
	private double width;
	private double depth;
	
	
	// T.J. Pile
	/**
    Constructs a box at 0,0,0 coordinates of no size.
	*/
	public Box()
	{
		this.x = 0;
		this.y = 0;
		this.z = 0;
		this.height = 0;
		this.width = 0;
		this.depth = 0;
	}
	
	
	// Amar Patel
	/**
    Constructs a box at the provided coordinates the size of the provided dimensions.
	*/
	public Box(double x, double y, double z, double height, double width, double depth)
	{
		this.x = x;
		this.y = y;
		this.z = z;
		this.height = height;
		this.width = width;
		this.depth = depth;
	}
	
	
	// Amar Patel
	/**
    Gets X coordinate of the box.
    @return the X coordinate
	*/
	public double getX()
	{
		return this.x;
	}
	
	
	// Amar Patel
	/**
    Gets Y coordinate of the box.
    @return the Y coordinate
	*/
	public double getY()
	{
		return this.y;
	}
	
	
	// Amar Patel
	/**
    Gets Z coordinate of the box.
    @return the Z coordinate
	*/
	public double getZ()
	{
		return this.z;
	}
	
	
	// T.J. Pile
	/**
    Gets the height of the box.
    @return the box height
	*/
	public double getHeight()
	{
		return this.height;
	}
	
	
	// T.J. Pile
	/**
    Gets the width of the box.
    @return the box width
	*/
	public double getWidth()
	{
		return this.width;
	}
	
	
	// T.J. Pile
	/**
    Gets the depth of the box.
    @return the box depth
	*/
	public double getDepth()
	{
		return this.depth;
	}
	
	
	// Amar Patel
	/**
    Calculates the volume of the box.
    @return the box volume
	*/
	public double calculateVolume()
	//private double calculateVolume()
	{
		return (this.height * this.width * this.depth);
	}
	
	
	// T.J. Pile
	/**
    Calculates the area of all surfaces of the box.
    @return the box surface area
	*/
	public double calculateSurfaceArea()
	{
		double area1 = this.height * this.width;
		double area2 = this.height * this.depth;
		double area3 = this.width * this.depth;
		double totalArea = (area1 * 2) + (area2 * 2) + (area3 * 2);
		return (totalArea);
	}
}
